﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FingerSC
{
    /// <summary>
    /// 指纹事件回调类型
    /// </summary>
    public enum Enum_FingerDeviceCallbackType
    {


        #region 串口相关枚举 （与指纹仪模块无关）


        /// <summary>
        /// 指纹Com口初始化异常
        /// </summary>
        PortInitException = 10001,

        /// <summary>
        /// 指纹仪Com口未开启
        /// </summary>
        PortNotOpen = 10002,

        

        #endregion

        /// <summary>
        /// 未定义
        /// </summary>
        Undefined = 0,
        /// <summary>
        /// 注册指纹_首次指纹录入前
        /// </summary>
        Register_FirstEntrying = 1,


        /// <summary>
        /// 注册指纹_首次指纹录入完成
        /// </summary>
        Register_FirstEntryend = 2,

        /// <summary>
        /// 注册指纹_第二次指纹录入前
        /// </summary>
        Register_SencondEntrying = 3,

        /// <summary>
        /// 注册指纹_第二次指纹录入完成
        /// </summary>
        Register_SencondEntryend = 4,

        /// <summary>
        /// 注册指纹_第三次次指纹录入前
        /// </summary>
        Register_ThirdEntrying = 5,

        /// <summary>
        /// 注册指纹_第三次次指纹录入前
        /// </summary>
        Register_ThirdEntryend = 6,

        /// <summary>
        /// 注册指纹_注册成功
        /// </summary>
        Register_EntrySuccess = 7,
        /// <summary>
        /// 注册指纹_注册失败
        /// </summary>
        Register_EntryFail = 8,

        /// <summary>
        /// 下载指纹模板_请求下发模板1前
        /// </summary>
        DownloadModel_RequestModelData1 = 101,

        /// <summary>
        /// 下发指纹模板_下发模板数据1前
        /// </summary>
        DownloadModel_DownModelData1 = 102,
        /// <summary>
        /// 下发指纹模板_请求下发模板2前
        /// </summary>
        DownloadModel_RequestModelData2 = 103,
        /// <summary>
        /// 下发指纹模板_下发模板数据2前
        /// </summary>
        DownloadModel_DownModelData2 = 104,


        /// <summary>
        /// 下发指纹模板_下发模板数据成功
        /// </summary>
        DonwloadModel_DownModelDataSuccess = 105,

        /// <summary>
        ///下发指纹模板_下发模板数据失败
        /// </summary>
        DonwloadModel_DownModelDataFail = 106,
        


        /// <summary>
        /// 请求指纹模板_成功
        /// </summary>
        RequestModel_Success =201,

        /// <summary>
        /// 指纹验证中
        /// </summary>
        FingerprintVerification_Entrying = 301,
        /// <summary>
        /// 指纹验证成功
        /// </summary>
        FingerprintVerification_Success =302,

        /// <summary>
        /// 指纹验证失败
        /// </summary>
        FingerprintVerification_Fail = 303,

        /// <summary>
        /// 图像获取中
        /// </summary>
        FingerprintImage_Entrying = 401,
        /// <summary>
        /// 图像获取成功
        /// </summary>
        FingerprintImage_Success = 402,
        /// <summary>
        /// 图像获取失败
        /// </summary>
        FingerprintImage_Fail = 403,

        /// <summary>
        /// 手指检测超时
        /// </summary>
        Finger_Detection_Timeout=501,

        /// <summary>
        /// 获取设备GUID
        /// </summary>
        GetDeviceGUID =1001,

    }
}
